<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style type="text/css">
<!--
body {
	margin-left: 3px;
	margin-top: 0px;
	margin-right: 3px;
	margin-bottom: 0px;
}
.STYLE1 {
	color: #e1e2e3;
	font-size: 12px;
}
.STYLE6 {color: #000000; font-size: 12; }
.STYLE10 {color: #000000; font-size: 12px; }
.STYLE19 {
	color: #344b50;
	font-size: 12px;
}
.STYLE21 {
	font-size: 12px;
	color: #3b6375;
}
.STYLE22 {
	font-size: 12px;
	color: #295568;
}
-->
</style>
</head>

<body>
</form>
	<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
	  <tr>
	    <td height="30"><table width="100%" border="0" cellspacing="0" cellpadding="0">
	      <tr>
	        <td height="24" bgcolor="#353c44"><table width="100%" border="0" cellspacing="0" cellpadding="0">
	          <tr>
	            <td>
	            <table width="100%" border="0" cellspacing="0" cellpadding="0">
	              <tr>
	                <td width="6%" height="19" valign="bottom"><div align="center"><img src="images/tb.gif" width="14" height="14" /></div></td>
	                <td width="94%" valign="bottom"><span class="STYLE1"> 查看用户信息</span></td>
	              </tr>
	            </table></td>
	           
	          </tr>
	        </table></td>
	      </tr>
	    </table></td>
	  </tr>
	  
	  <tr>
		    <td>
			    <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#a8c7ce">
			      <tr>
			        <td width="20%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">用户名</span></div></td>
			        <td  width="80%" height="" bgcolor="#FFFFFF" class="STYLE6" >
			        	${bbsUserInfo.username}
			        </td>
			      </tr>
			      <tr>
			        <td width="15%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">用户邮箱</span></div></td>
			        <td height="20" bgcolor="#FFFFFF" class="STYLE19">
			        	${bbsUserInfo.email }
			        </td>
			      </tr>
				<tr>
					 <td width="15%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">用户性别</span></div></td>
						 <td height="20" bgcolor="#FFFFFF" class="STYLE19">
								<c:if test="${bbsUserInfo.userSex==0}">男</c:if>
								<c:if test="${bbsUserInfo.userSex==1}">女</c:if>
						 </td>
				</tr>
				<tr>	
						 <td width="15%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">用户级别</span></div></td>
						 <td height="20" bgcolor="#FFFFFF" class="STYLE19">
						 	<c:if test="${bbsUserInfo.userLevel==1}">初级会员</c:if>
							<c:if test="${bbsUserInfo.userLevel==2}">中级会员</c:if>
							<c:if test="${bbsUserInfo.userLevel==3}">高级会员</c:if>
							<c:if test="${bbsUserInfo.userLevel==4}">版主</c:if>
							<c:if test="${bbsUserInfo.userLevel==5}">系统管理员</c:if>
						 </td>
				</tr>
				<tr>
						<td width="15%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">用户状态</span></div></td>
						 <td height="20" bgcolor="#FFFFFF" class="STYLE19">
							 <c:if test="${bbsUserInfo.userState==0}">锁定</c:if>
							<c:if test="${bbsUserInfo.userState==1}">未锁定</c:if>
						 </td>
				</tr>
				
				<tr>
						 <td width="15%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">用户积分</div></td>
						 <td height="20" bgcolor="#FFFFFF" class="STYLE19">${bbsUserInfo.userIntergral}</td>
				</tr>
				<tr>
						<td width="15%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">注册时间</span></div></td>
						<td height="20" bgcolor="#FFFFFF" class="STYLE19">${bbsUserInfo.userRegisterTime}</td>
				</tr>
			    </table>
		   </td>
	  </tr>
	</table>
   </td>
  </tr>
</table>
</form>
</body>
</html>